body {
    margin: 0;
    padding: 20px;
    font-family: "Microsoft YaHei", sans-serif;
}

.table-container {
    width: max-content;
    margin: 0 auto;
}

.cell {
    display: inline-block;
    width: 90px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border: 1px solid blue;
    margin: 2px;
    box-sizing: border-box;
}

.cell:hover {
    background-color: blue;
    color: white;
    cursor: pointer;
}